.ant-layout-content {
  overflow: hidden;
}

.ant-layout-header {
  height: auto !important;
  padding: 0 !important;
}

.router-tab {
  .ant-tabs > .ant-tabs-nav {
    margin-bottom: 0;
  }
}

.ant-tabs-dropdown-menu {
  background-clip: unset !important;

  .ant-tabs-dropdown-menu-item {
    padding: 5px 10px 5px 12px !important;

    > span {
      display: flex;
      justify-content: space-between;
    }
  }
}

.setting-drawer {
  .ant-drawer-header {
    padding: 12px 12px 12px 24px !important;

    .ant-drawer-header-title {
      flex-direction: row-reverse;

      .ant-drawer-close {
        margin-right: 0 !important;
      }

      .ant-drawer-close {
        transform: scale(1, 0.85);
      }
    }
  }

  .ant-divider {
    margin: 0 !important;

    .ant-divider-inner-text {
      font-size: 14px;
    }
  }
}

.ant-table {
  .ant-table-small {
    font-size: 13px !important;
  }

  .action-link {
    cursor: pointer;
    font-weight: 500;
    color: var(--ant-primary-color);
    display: inline-flex;
    align-items: center;

    &:not(:first-child) {
      margin-left: 12px;
    }

    .anticon {
      margin-right: 3px;
    }
  }

  .link-danger {
    color: var(--ant-error-color) !important;
  }

  .link-disabled {
    cursor: not-allowed;
    opacity: 0.6;
  }

}

.table-search {
  padding-bottom: 15px;
  display: inline-flex;
  gap: 8px;
}

.ant-modal {
  padding-bottom: 0 !important;
}

.ant-popover-inner-content {
  padding-top: 0 !important;
}

.select-icon-box .ant-tabs {
  overflow: inherit !important;
}

.header-tool-item .ant-dropdown-link{
  display: block;
  font-size: 14px;
}
